 /**
 * v-isAdmin
 */
 
 import useUserStore from '@/store/modules/user'

 export default {
   mounted(el, binding, vnode) {
    const { value } = binding
     const isAdmin = useUserStore().isAdmin
     if (isAdmin) {
        el.parentNode && el.parentNode.removeChild(el)
      }
    }
 }
 